1 '------------------------------------------------------------------------------
2 ' <auto-generated>
3 ' This code was generated
by a tool.
4 ' Runtime Version:
4.0.30319.42000
5 '
6 ' Changes to
this file may cause incorrect behavior and will be lost if
7 ' the code
is regenerated.
8 ' </auto-generated>
9 '------------------------------------------------------------------------------

10
11 Option Strict On
12 Option Explicit On
13
14
15 Namespace My
16     
17     <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
18      Global.System.CodeDom.Compiler.GeneratedCodeAttribute(
"Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0"), _
19      Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
20     Partial Friend NotInheritable Class MySettings
21         Inherits Global.System.Configuration.ApplicationSettingsBase
22         
23         Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
24         
25 #Region
"My.Settings Auto-Save Functionality"
26 #If _MyType =
"WindowsForms" Then
27     Private Shared addedHandler As Boolean
28
29     Private Shared addedHandlerLockObject As New Object
30
31     <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
32     Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
33         If My.Application.SaveMySettingsOnExit Then
34             My.Settings.Save()
35         End If
36     End Sub
37 #End If
38 #End Region
39         
40         Public Shared ReadOnly Property [Default]() As MySettings
41             Get
42                 
43 #If _MyType =
"WindowsForms" Then
44                If Not addedHandler Then
45                     SyncLock addedHandlerLockObject
46                         If Not addedHandler Then
47                             AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
48                             addedHandler = True
49                         End If
50                     End SyncLock
51                 End If
52 #End If
53                 Return defaultInstance
54             End Get
55         End Property
56         
57         <Global.System.Configuration.ApplicationScopedSettingAttribute(), _
58          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
59          Global.System.Configuration.SpecialSettingAttribute(Global.System.Configuration.SpecialSetting.ConnectionString), _
60          Global.System.Configuration.DefaultSettingValueAttribute(
"Data Source=.\Sqlexpress;Initial Catalog=SIS_DB;Integrated Security=True;Multiple"& _
61             
"ActiveResultSets=True;")> _
62         Public ReadOnly Property SIS_DBConnectionString1() As String
63             Get
64                 Return CType(Me(
"SIS_DBConnectionString1"),String)
65             End Get
66         End Property
67         
68         <Global.System.Configuration.UserScopedSettingAttribute(), _
69          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
70          Global.System.Configuration.DefaultSettingValueAttribute(
"False")> _
71         Public Property
checked() As Boolean
72             Get
73                 Return CType(Me(
"checked"),Boolean)
74             End Get
75             Set
76                 Me(
"checked") = value
77             End Set
78         End Property
79         
80         <Global.System.Configuration.UserScopedSettingAttribute(), _
81          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
82          Global.System.Configuration.DefaultSettingValueAttribute(
"")> _
83         Public Property day() As String
84             Get
85                 Return CType(Me(
"day"),String)
86             End Get
87             Set
88                 Me(
"day") = value
89             End Set
90         End Property
91         
92         <Global.System.Configuration.UserScopedSettingAttribute(), _
93          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
94          Global.System.Configuration.DefaultSettingValueAttribute(
"")> _
95         Public Property month() As String
96             Get
97                 Return CType(Me(
"month"),String)
98             End Get
99             Set
100                 Me(
"month") = value
101             End Set
102         End Property
103         
104         <Global.System.Configuration.UserScopedSettingAttribute(), _
105          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
106          Global.System.Configuration.DefaultSettingValueAttribute(
"")> _
107         Public Property year() As String
108             Get
109                 Return CType(Me(
"year"),String)
110             End Get
111             Set
112                 Me(
"year") = value
113             End Set
114         End Property
115         
116         <Global.System.Configuration.UserScopedSettingAttribute(), _
117          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
118          Global.System.Configuration.DefaultSettingValueAttribute(
"")> _
119         Public Property setting() As String
120             Get
121                 Return CType(Me(
"setting"),String)
122             End Get
123             Set
124                 Me(
"setting") = value
125             End Set
126         End Property
127     End Class
128 End Namespace
129
130 Namespace My
131     
132     <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
133      Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
134      Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
135     Friend Module MySettingsProperty
136         
137         <Global.System.ComponentModel.Design.HelpKeywordAttribute(
"My.Settings")> _
138         Friend ReadOnly Property Settings() As Global.Sales_and_Inventory_System.My.MySettings
139             Get
140                 Return Global.Sales_and_Inventory_System.My.MySettings.Default
141             End Get
142         End Property
143     End Module
144 End Namespace


Gõ tìm kiếm nhanh...